<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Hugo 0.88.1">
    <title>login Page</title>

    <link rel="canonical" href="https://getbootstrap.com/docs/5.1/examples/heroes/">
    <!-- Bootstrap core CSS -->
   <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <style>
      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
      }
      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
    </style>

    <!-- Custom styles for this template -->

    <link th:href="@{/css/heroes.css}" rel="stylesheet">
  </head>
  <body>
    
<main>
  <h1 class="visually-hidden">Login page</h1>

  <div class="b-example-divider"></div>

  <div class="container col-xl-10 col-xxl-8 px-4 py-5">
    <div class="row align-items-center g-lg-5 py-5">
      <div class="col-lg-7 text-center text-lg-start">
        <h1 class="display-4 fw-bold lh-1 mb-3">员工信息管理系统-登录页面</h1>
        <p class="col-lg-10 fs-4">一个简单的员工信息管理系统，采用springboot + thymeleaf制作而成
        </p>
      </div>
      <div class="col-md-10 mx-auto col-lg-5">
        <form th:action="@{/user/login}" method="post" class="p-4 p-md-5 border rounded-3 bg-light">
          <div class="form-floating mb-3">
            <input type="text" id="floatingInput" name="username" placeholder="User Name">
            <label for= "floatingInput" ></label>
           </div>
           <div class="form-floating mb-3">
            <input type="text" id="floatingPassword" name="pwd" placeholder="Password">
             <label for="floatingPassword"></label>

          </div>
         <!-- <div class="checkbox mb-3">
            <label>
              <input type="checkbox" value="remember-me"> Remember me
            </label>
          </div>-->

          <br>
          <button class="w-100 btn btn-lg btn-primary" type="submit">Sign up</button>
          <hr class="my-4">
          <small class="text-muted">By clicking Sign up, you agree to the terms of use.</small>
        </form>
        <p>
          如果你没有注册账号，请先注册
        </p>
        <a th:href="@{/register}">
          <button>register</button>
        </a>

      </div>
    </div>
  </div>

  <div class="b-example-divider mb-0"></div>
</main>


  <!--  <script src="../assets/dist/js/bootstrap.bundle.min.js"></script>-->

      
  </body>
</html>
